package com.yic.module.mes.convert.reportworkhours;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.mes.controller.admin.reportworkhours.vo.*;
import com.yic.module.mes.dal.dataobject.reportworkhours.ReportWorkHoursDO;

/**
 * 报工工时 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ReportWorkHoursConvert {

    ReportWorkHoursConvert INSTANCE = Mappers.getMapper(ReportWorkHoursConvert.class);

    ReportWorkHoursDO convert(ReportWorkHoursCreateReqVO bean);

    ReportWorkHoursDO convert(ReportWorkHoursUpdateReqVO bean);

    ReportWorkHoursRespVO convert(ReportWorkHoursDO bean);

    List<ReportWorkHoursRespVO> convertList(List<ReportWorkHoursDO> list);

    PageResult<ReportWorkHoursRespVO> convertPage(PageResult<ReportWorkHoursDO> page);

    List<ReportWorkHoursExcelVO> convertList02(List<ReportWorkHoursDO> list);

    List<ReportWorkHoursDO> convertList03(List<ReportWorkHoursCreateReqVO> createReqVOS);

}
